<template>
  <div>
    <NuxtRouteAnnouncer />
    <NuxtWelcome />
    <el-button @click="ElMessage('hello')">button</el-button>
    <ElButton :icon="ElIconEditPen" type="success">button</ElButton>
    <LazyElButton type="warning">lazy button</LazyElButton>
    <el-config-provider :locale="zhCn">
      <el-pagination
          background
          layout="prev, pager, next, total, jumper"
          :pager-count="5"
          :total="10"
          :page-size="10"
          :default-current-page="1"
          @current-change="getList"
      />
    </el-config-provider>
  </div>
</template>

<script setup lang="ts">
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
</script>
